Skip to content

feat: Add developer experience for local changes deployment with custom image #692

Closed
Yatish-Microsoft wants to merge 1 commit into
devfrom
rg-ve-developerEXP
Closed

feat: Add developer experience for local changes deployment with custom image #692
Yatish-Microsoft wants to merge 1 commit into
devfrom
rg-ve-developerEXP

Conversation

@Yatish-Microsoft

Copy link
Copy Markdown
Contributor

Purpose

This pull request introduces a new azure_custom.yaml configuration file to the project, providing a comprehensive setup for deploying and managing resources in Azure using the Azure Developer CLI (azd). The file defines environment settings, infrastructure provisioning, and custom hooks to automate local image builds, pushes, and environment variable management for both Windows and POSIX systems.

Key additions and improvements:

Azure deployment configuration and automation:

  • Adds azure_custom.yaml with full environment and infrastructure definitions, including environment name, location, required azd version, and template metadata.
  • Implements custom preprovision hooks for both Windows (PowerShell) and POSIX (sh), automating the process of building and pushing Docker images for the API and Web components to Azure Container Registry (ACR), handling ACR creation if needed, and setting environment variables for image tags and registry endpoints.
  • Ensures web apps are pre-configured with ACR credentials to enable seamless image pulls, enhancing deployment reliability.

Developer experience enhancements:

  • Adds a postprovision hook to display the deployed web app URL after provisioning, improving feedback for developers during deployment.

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants